<template>
    <div class="localsingersong">
        <div class="header space-between padding-24 bg-active">
            <div class="h-back center-col" @click="goBack">
                <img :src="back" alt="" class="back">
                <img :src="cove" alt="" class="cove yuan">
                <p class="fs-36 color-f overFlow">{{singer.name}}</p>
                <p class="fs-24 color-f">{{singer.num}}首</p>
            </div>
            
            <div class="h-right"><img :src="play" alt=""></div> 
        </div>
        <div class="music-list">
            <div class="song-list" >
                <div class="title space-between">
                    <div class="left space-between">
                    <span class="icon">
                        <img :src="playAll" alt />
                    </span>
                    <span class="tit fs-36">全部播放</span>
                    
                    </div>
                    <div class="right space-between" >
                    <span class="icon">
                        <img :src="operate" alt />
                    </span>
                    <span class="txt fs-28" >批量操作</span>
                    </div>
                    
                </div>
                <div class="list space-between" v-for="item in songList" :key="item.id">
                    <div class="left">
                        <span class="song-name fs-36 overFlow">{{item.music_name}}</span>
                        <span class="mes overFlow fs-26 color-9">
                            {{item.singer_name}} - {{item.music_list_name}}
                        </span>
                    </div>
                    <div class="right">
                        
                        <span class="more" >
                            <img :src="moreMes" alt />
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
export default {
    data(){
        return{
            back:require('../../assets/index/back.png'),
            play:require('../../assets/index/play.png'),
            cove:require('../../assets/image/cove.png'),
            playAll: require("@/assets/index/playAll.png"),
            operate: require("@/assets/index/operate.png"),
            moreMes: require("@/assets/index/moreMes.png"),
            singer:{
                name:'',
                num:8,
            },
            songList:[
                {
                    music_name:'问过防火门  个不放过 鬼地方个',
                    singer_name:'申达股',
                    music_list_name:'万恶高蛋白不放过'
                },
                {
                    music_name:'问过防火门  个不放过 鬼地方个',
                    singer_name:'申达股',
                    music_list_name:'万恶高蛋白不放过'
                }
            ],
        }
    },
    created(){
        this.singer.name=this.$route.query.user_id
    },
    methods:{
        goBack(){
            this.$router.go(-1);
        },
    }
}
</script>
<style lang="scss">
.localsingersong{
    .header{
        width: 100%;
        height: 1rem;
        .h-back{
            width: 6rem;
            height: 0.6rem;
            .back{
                width: 0.15rem;
                height: 0.26rem;
                margin-right: 0.3rem;
            }
            .cove{
                width: 0.58rem;
                height: 0.58rem;
                margin-right: 0.2rem;
            }
            .fs-36{
                width: auto;
                margin-right: 0.2rem;
                max-width: 2.5rem;
            }
            .fs-24{
                opacity: 0.5;
            }
        }
        .title{
            font-size: 0.36rem;
            font-weight: bold;
        }
        .active{
            font-size: 0.36rem;
            font-weight: bold
        }
        .h-right{
            width: 0.38rem;
            height: 0.5rem;
            img{
                display: inline-block;
                width: 100%;
            }
        }
    }
    .music-list{
        margin-top: 1rem;
        width: 100%;
        height: auto;
        .song-list {
            padding: 0.46rem 0.27rem 1.5rem;
            background-color: #fff;
            box-sizing: border-box;
            .title {
                
            margin-bottom: 0.2rem;
            .left {
                .icon {
                width: 0.38rem;
                height: 0.38rem;
                margin-right: 0.16rem;
                img {
                    width: 100%;
                }
                }
                .tit {
                font-weight: bold;
                color: rgba(68, 68, 68, 1);
                line-height: 0.36rem;
                margin-right: 0.32rem;
                }
                .num {
                font-weight: 500;
                color: rgba(153, 153, 153, 1);
                // line-height:36px;
                }
            }
            .right {
                .icon {
                width: 0.28rem;
                height: 0.3rem;
                margin-right: 0.15rem;
                img {
                    width: 100%;
                }
                }
                .txt {
                font-weight: 800;
                color: rgba(68, 68, 68, 1);
                line-height: 0.36rem;
                }
            }
            }
            .list {
            display: flex;
            flex-direction: row;
            padding: 0.41rem 0 0.38rem;
            box-sizing: border-box;
            border-bottom: 0.01rem solid #e9e9e9;
            .left {
                display: flex;
                flex-direction: column;
                .song-name {
                font-weight: 500;
                color: rgba(68, 68, 68, 1);
                line-height: 0.36rem;
                margin-bottom: 0.22rem;
                }
                .mes {
                display: table-cell;
                vertical-align: middle;
                img {
                    width: 0.3rem;
                    height: 0.3rem;
                    vertical-align: middle;
                    display: inline-block;
                    margin-right: 0.11rem;
                }
                .txt {
                    font-weight: 500;
                    color: rgba(153, 153, 153, 1);
                    line-height: 0.36rem;
                }
                }
            }
            .right {
                    img {
                    width: 0.08rem;
                    height: 0.36rem;
                }
                
                }
            }
        }
    }
}
</style>